package com.cold.demo.web.config.handlemapping.testcontroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: zyc
 */
@RestController
public class MyTestController {


    @RequestMapping("/my/test")
    public Object test(HttpServletRequest request){
        return "/my/test访问成功";
    }
}
